package com.frejoys.common.vo.app;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author wangzhicheng
 * @version 1.0
 * @date 2024/4/28 14:05
 */
@Data
public class StoreWalletLogPageVo {
    @Schema(type = "Integer", name = "id", description = "id", required = true, defaultValue = "1")
    private Integer id;

    @Schema(type = "Integer", name = "storeId", description = "店铺id", required = true, defaultValue = "1")
    private Integer storeId;

    @Schema(type = "String", name = "name", description = "店名", required = true, defaultValue = "华为专卖")
    private String name;

    @Schema(type = "String", name = "cover", description = "店封面广告图", required = true, defaultValue = "xxx/xxx.jpg")
    private String cover;

    @Schema(type = "String", name = "logo", description = "logo", required = true, defaultValue = "xxx/xxx.jpg")
    private String logo;

    @Schema(type = "String", name = "logoUrl", description = "带域名logo", required = true, defaultValue = "xxx/xxx.jpg")
    private String logoUrl;

    @Schema(type = "String", name = "coverUrl", description = "带域名店封面广告图", required = true, defaultValue = "xxx/xxx.jpg")
    private String coverUrl;

    @Schema(type = "String", name = "tel", description = "店铺电话", required = true, defaultValue = "xxx/xxx.jpg")
    private String tel;


    @Schema(type = "BigDecimal", name = "money", description = "金额", required = true, defaultValue = "1")
    private BigDecimal money;

    // 根据类型不同：1.订单编号，2.商家提现编号
    @Schema(type = "Long", name = "drawSn", description = "根据类型不同：1.订单编号，2.商家提现编号", required = true, defaultValue = "1")
    private Long drawSn;

    @Schema(type = "String", name = "wxImg", description = "微信收款码", required = true, defaultValue = "xxx.npg")
    private String wxImg;

    @Schema(type = "String", name = "username", description = "用户账户姓名", required = true, defaultValue = "小强")
    private String username;

    @Schema(type = "String", name = "account", description = "用户账号", required = true, defaultValue = "115")
    private String account;

    @Schema(type = "Integer", name = "cashType", description = "类型：1微信收款图，2支付宝账号", required = true, defaultValue = "1")
    private Integer cashType;

    @Schema(type = "String", name = "phone", description = "电话", required = false, defaultValue = "")
    private String phone;

    /**
     * 类型：1.用户下单，2.商家提现
     */
    @Schema(type = "Integer", name = "type", description = "类型：1.用户下单，2.商家提现", required = true, defaultValue = "1")
    private Integer type;

    // 状态(用户提现时：0为申请，1为提现成功)：0等待，1.有效
    @Schema(type = "Integer", name = "status", description = "状态(商家提现时：0为申请，1为提现成功)：0等待，1.有效", required = true, defaultValue = "1")
    private Integer status;

    // 创建时间
    @Schema(type = "Integer", name = "createTime", description = "创建时间", required = true, defaultValue = "11644651612")
    private Integer createTime;

    @Schema(type = "Integer", name = "updateTime", description = "更新时间")
    private Integer updateTime;


    @Schema(type = "BigDecimal", name = "cashMoney", description = "提现金额", required = true, defaultValue = "1")
    private BigDecimal cashMoney;

    @Schema(type = "BigDecimal", name = "cashCharges", description = "手续费", required = true, defaultValue = "1")
    private BigDecimal cashCharges;
}
